package com.nnnu.wsnackshop.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "操作日志 VO")
public class ActivityLogVO {
    @Schema(description = "日志ID") private Long id;
    @Schema(description = "操作人用户ID") private Long userId;
    @Schema(description = "操作类型，如 create_user") private String action;
    @Schema(description = "目标表名，如 users") private String targetTable;
    @Schema(description = "目标记录ID，如用户ID") private String targetId;
    @Schema(description = "操作描述") private String description;
    @Schema(description = "操作时间，格式 yyyy-MM-dd HH:mm:ss") private String createdAt;
}
